<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div{
      /* width: 100px;
      height: 300px; */
      width: 0;
      border: 100px solid transparent;
      border-bottom: 100px solid tomato;
     animation:myfirst 5s linear 2s infinite alternate;
     position:relative;
    }
    @keyframes myfirst
{
    0%   {left:0px; top:0px;}
    25%  {left:200px; top:0px;}
    50%  { left:200px; top:200px;}
    75%  { left:0px; top:200px;}
    100% { left:0px; top:0px;}
}
img{
  width: 300px;
  height: 300px;
}
  </style>
</head>
<body>
  
  <div>胡莲奥特曼<img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fimages%2F20200106%2F5066dac9386741d0bc06692df2c7e965.jpeg&refer=http%3A%2F%2F5b0988e595225.cdn.sohucs.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1642255861&t=dd2b802ea1322cd9c1d0210bd2535d9d" alt=""></div>
</body>
</html>